#ifndef PLAYER_H_INCLUDED
#define PLAYER_H_INCLUDED
#include "playlist.h"
#include <stdint.h>
class player
{
private:
	bool f_random, f_repeat;
	bool played;
	uint32_t hndl;
	float position;//position in seconds
    unsigned int curr_id;
	void init();
	void some_func();
public:
	playlist __playlist;
	player();
    void play_begin(unsigned int id);
	void play();
	void pause();
	void stop();
	void next();
	void previous();
	unsigned int selected_id();
	float get_position();
	float get_cpu();
	~player();
};
#endif
